package com.sy.cloud.wechat.model;

import com.sy.common.model.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by mac on 2017-10-29.
 */
@Entity
@Table(name="sp_wechat_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WechatUser extends BaseModel {
    private String token = "";
    private String open_id;
    private String wechat_name;
    private Long subscribe_time;
    private String scene_id;
    private String languange;
    private String country;
    private String province;
    private String city;
    private Boolean subscribe;
    private Integer sex;
    private String headimgurl;
    private String create_time;
    private String update_time;
    private String phone;
}
